/**
*
* @ author:JiangChencheng
* @ email:744578095@qq.com
* @ data: 2021-10-29 17:20
*/
export default class Jia extends Laya.Script {

    constructor() {
        super();
    }

    onTriggerEnter(other){
        if(other.owner.name == "ball") {
            Laya.stage.event("AddShootCount")
            this.owner.destroy()
        }
    }
}